package com.sdap2.common.service;

import com.sdap2.common.entity.LogicEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface LogicService<T extends LogicEntity> {
    T save(T entity);
    
    T findById(Long id);
    
    Page<T> findAll(Pageable pageable);
    
    void deleteById(Long id);
} 